const { Export } = require("springbreeze") ,
    path = require("path")

function make( name ){
    return path.join( __dirname , name )
}

const ResName = [
    { name : "Web" , path : make( "WebMiddleware" ) , desc : "Web中间件"} ,
    { name : "AppError" , path : make( "AppError" ) , desc : "为web中间件服务的Error"} ,
    { name : "StringUtil" , path : make( "util/StringUtil" ) , desc : "字符串工具类" } ,
    { name : "BaseAction" , path : make( "action/BaseAction" ) , desc : "BaseAction"} ,
    { name : "RequestAuth" , path : make( "action/RequestAuth" ) , desc : "RequestAuth"} ,
    { name : "RequestCache" , path : make( "action/RequestCache" ) , desc : "RequestCache"} ,
    { name : "RequestParser" , path : make( "action/RequestParser" ) , desc : "RequestParser"} ,
    { name : "AuthHandler" , path : make( "action/handler/AuthHandler" ) , desc : "AuthHandler"} ,
    { name : "ErrorHandler" , path : make( "action/handler/ErrorHandler" ) , desc : "ErrorHandler"} ,
    { name : "PackageHandler" , path : make( "action/handler/PackageHandler" ) , desc : "PackageHandler"} ,
    { name : "Ret" , path : make( "action/Ret" ) , desc : "Ret"} ,
    { name : "BasePlugin" , path : make( "plugin/BasePlugin" ) , desc : "BasePlugin"} ,
]

module.exports = Export( ResName )